package com.example.service;/**
 * @author wangXiao
 */

import com.example.entity.ConfigBean;
import com.example.entity.QueryPermissionVo;
import com.example.entity.base.BaseResult;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;
import java.util.List;

/**
 * @Description: TODO
 * @Author wangXiao
 * @Date 2021/9/6
 **/
public interface SakuraService {
    List<String> selectUsers();

    /**
     * 解析yml文件
     */
    void getReadmeConfig() throws IOException;

    void getConfigBeanPropertY(ConfigBean configBean);

    List<QueryPermissionVo> treeMenuList();

    List<String> getCacheTest(String param);

    void getdataSource1();

    void getdataSource2();

    @Transactional(rollbackFor = Exception.class)
    public BaseResult testTransactional(String str);
}
